<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="keywords" content="CURR文库，文档下载，模板资料，模板下载，文档资料共享">
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="description" content="CURR文库，文档资料分享站">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_674372_kehgbjv690m.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap4.3.1.min.css" type="text/css"/>
    <link rel="stylesheet" href="/css/index.css"/>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_674372_ta6z38jpac.css"/>
    <script src="//at.alicdn.com/t/font_674372_ta6z38jpac.js"></script>
    <script src="/css/jquery.js"></script>
    <title>CURR文库 - 首页</title>
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?cb2dc83e9704040ab7fe05bc746183d2";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>
<body style="padding-top: 3.5rem">

<header>
    <nav class="navbar navbar-expand-md navbar-light bg-light fixed-top">
        <div class="container">
            <a class="navbar-brand" href="#">CURR文库</a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#header-navbar-collapse" aria-controls="header-navbar-collapse" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse" id="header-navbar-collapse">
                <ul class="navbar-nav mr-auto">
                    <li class="nav-item active">
                        <a class="nav-link" href="#">首页 <span class="sr-only">(current)</span></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">分类</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">教程</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">上传文档</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">消息</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/main/login">登录</a>
                    </li>
                </ul>
                <form class="form-inline my-2 my-md-0">
                    <input class="form-control" type="text" placeholder="Search" aria-label="Search">
                </form>
            </div>
        </div>
    </nav>
</header>

<div class="container home">
    <div class="row">
        <main role="main" class="col-md-9 col-lg-10">
            <ul class="doc-list mt-4 mb-2 pt-2">

                <li class="doc-item">
                    <div class="media-body pt-2 pb-2">
                        <h5>
                            {{data.title}}
                        </h5>
                    </div>
                    <div class="item-meta mt-1">
                        {% if data.points == 0 then %}
                        <span class="text-success mr-5">免费</span>
                        {% else %}
                        <span class="text-gold mr-5">{{data.points}}金币</span>
                        {% end %}
                        <span class="text-muted mr-5">标签：
                            {% for k1, v1 in pairs(data.label) do %}
                            <a class="mr-2" href="#">{{v1}}</a>
                            {% end %}
                        </span>
                        <span class="text-muted mr-5">分类：<a href="#">{{data.catName}}</a></span>
                        <span class="text-muted mr-5">贡献者：Alex</span>
                        <span class="text-muted mr-5">{{data.created_at}}</span>
                    </div>
                    <div class="item-meta mt-1" style="border: #e1e1e1 1px solid; padding: 10px; background-color: #f1f1f1;">
                        {*data.remark*}
                    </div>
                </li>

            </ul>
        </main>
    </div>
</div>
<footer>
    <div class="container d-flex justify-content-between align-items-center">
        <div>
            <p>© 2019-2020 菜鸟科技, Rookie Technology Limit Co.</p>
            <a href="//top51.cn">Design By : Slayer Hover</a> · <a href="//www.igccc.com">Alex</a>
        </div>
        <p><a href="#">Back to top</a></p>
    </div>
</footer>
<script src="/js/bootstrap4.3.1.min.js"></script>
<script>

</script>
</body>
</html>
